/*
* $Id: ComboBoxItem.h 112 2010-07-07 15:15:39Z volok-aleksej@yandex.ru $
*
* Copyright 2009 by Volokitin Alexey
* All rights reserved
*
*/
#ifndef _COMBOBOX_ITEM_H_
#define _COMBOBOX_ITEM_H_

#include "EditItem.h"

class CDrawControl;

class CComboBoxItem : public CEditItem
{
public:
	CComboBoxItem(const std::tstring& strName, int nId);
	virtual ~CComboBoxItem();
public:
	virtual void Activate(bool bActive);
	void AddValueItem(int nItemId, std::tstring strItemValue);
	void InsertValueItem(int nPos, int nItemId, std::tstring strItemValue);
	void SetValue(int nItemId);
	void Sort();
};


#endif/*_COMBOBOX_ITEM_H_ */